#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
int main()
{
	char arr[] = "yinxin@qq.net";
	char arr2[30] = { 0 };
	strcpy(arr2, arr);
	const char* sep = "@.";
	char* ret = NULL;
	ret = strtok(arr2, sep);
	printf("%s\n", ret);

	ret = strtok(NULL, sep);
	printf("%s\n", ret); 

	ret = strtok(NULL, sep);
	printf("%s\n", ret);

	return 0;
}
